/*
 * extmanager.h
 *
 * Extension manager which knows all extension.
 *
 *  Created on: 13.01.2013
 *      Author: Michael
 */

#ifndef EXTMANAGER_H_
#define EXTMANAGER_H_

/*
 * ======== Project related includes ========
 */
#include "os/api.h"
#include "extensions/msp430/msp430_ext.h"
#include "extensions/c5000/c5000_ext.h"
#include "extensions/extension.h"

/*
 * Register all extensions here
 * Important: extmngr_wait has to be the last thread!
 */
static const Extension_t extensions = {
		{msp430ext_startLed10, msp430ext_startLed16,  msp430ext_stopLed16},
		3};

/*
 * Get the array with the extensions.
 * @return A list of all extensions which should be executed
 */
Extension_t extmngr_getExtensions();

#endif /* EXTMANAGER_H_ */
